from app import app
from settings import db

with app.app_context():
    db.create_all()
    print("数据库表创建成功！") 